import _http from '@/utils/http'

export default {
    shopListAll(params, loading, headers) {
        return _http('post', {
            url: '/ums/manage/shop/listAll',
            apiName: '所有商户下拉',
        }, params, loading, headers)
    },
    goodsInfoAll(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/list/all',
            apiName: '所有商品下拉',
        }, params, loading, headers)
    },
    goodsInfoDetail(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/goodsInfo/detail',
            apiName: '商品详情',
        }, params, loading, headers)
    },
    shopLimitGoodsPriceList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/goods-price/list',
            apiName: '商品价格列表',
        }, params, loading, headers)
    },
    shopLimitGoodsPriceAdd(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/goods-price/add',
            apiName: '商品价格新增',
        }, params, loading, headers)
    },
    shopLimitGoodsPriceDelete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/goods-price/delete',
            apiName: '商品价格删除',
        }, params, loading, headers)
    },
    shopLimitGoodsPriceModify(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/goods-price/modify',
            apiName: '商品价格修改',
        }, params, loading, headers)
    },
    shopLimitUploadTemplete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/upload-templete',
            apiName: '批量导入模板',
        }, params, loading, headers)
    },
    shopLimitRecord(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/shop-limit/import/record/list',
            apiName: '导入记录-查询',
        }, params, loading, headers)
    },
}
